import { omit } from 'lodash-es';

/*
 * @Author: liujm
 * @Date: 2022-11-08 15:13:56
 * @Description: file content
 */
/**
 * 去除json里面不需要存储的属性
 * @param {*} data
 * @returns
 */
const omitData = (data) => omit(data, ['documentInfo', 'definitionId', 'definitionName', 'instanceVersion',
  'userIdentity', 'userId', 'orgPath', 'orgName', 'orgId',
  'dcoumentState', 'documentRelation', 'documentVersion', 'domain', 'endTime', 'id',
  'instanceVersion', 'reflectClass', 'startTime', 'editVersion']);

const test = () => {};

export {
  omitData,
  test,
};
